package com.anche.cywebnew.DAO.configManager;

import com.anche.cywebnew.Pojo.configManager.CySysCode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysCodeMapper {
    List<CySysCode> selectSysCodeList(CySysCode cySysCode);

    void insertSysCode(CySysCode cySysCode);

    void deleteById(String id);

    void updateById(CySysCode cySysCode);

    List<String> selectDistinctOiName();

    String getValueByNameAndCode(@Param("oi_code") String oi_code, @Param("oi_name") String oi_name);
}
